package com.hl.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.hl.sfzy.entity.Appointment;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AppointmentService {
    Appointment selectById(long id);
    long deleteById(long id);
    long update(Appointment appointment);
    long insert(Appointment appointment);
    List<Appointment> getAllList();
    PageInfo<Appointment> findByPage(int pageNum, int pageSize, Appointment appointment);
}
